package com.example.springboot.service;
// 导入所需的类和工具包
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.springboot.entity.AdjustRoom;

// 定义调宿申请服务接口，继承 IService<AdjustRoom> 获得基础 CRUD 方法
public interface AdjustRoomService extends IService<AdjustRoom> {

    //查询调宿申请
    Page find(Integer pageNum, Integer pageSize, String search);

    //删除调宿申请（根据申请 ID）
    int deleteAdjustment(Integer id);

    //更新调宿申请信息
    int updateApply(AdjustRoom adjustRoom);

    //添加新的调宿申请
    int addApply(AdjustRoom adjustRoom);

}
